package com.jeecms.wicool.entity.groupBuy.base;

import com.jeecms.wicool.entity.groupBuy.GroupBuy;

import java.math.BigDecimal;

/**
 * Created by cuiyanlei on 15/6/9.
 */
public abstract class AbstractGroupBuySpecification {
    private Integer id;
    private Integer boundaryCount;
    private BigDecimal price;

    private GroupBuy groupBuy;

    public AbstractGroupBuySpecification() {
    }

    public AbstractGroupBuySpecification(Integer id, Integer boundaryCount, BigDecimal price, GroupBuy groupBuy) {

        this.id = id;
        this.boundaryCount = boundaryCount;
        this.price = price;
        this.groupBuy = groupBuy;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBoundaryCount() {
        return boundaryCount;
    }

    public void setBoundaryCount(Integer boundaryCount) {
        this.boundaryCount = boundaryCount;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public GroupBuy getGroupBuy() {
        return groupBuy;
    }

    public void setGroupBuy(GroupBuy groupBuy) {
        this.groupBuy = groupBuy;
    }
}
